package com.zengdada.authority.utils.excel.export.style;


/**
 * @author 12614
 * @contact 1261438511@qq.com
 * @date 2020-05-27 22:49
 * @describe 表格样式大小设置
 */
public class MyCellStyleSize {

    /**
     * 单位 字符  权重 AllTableTitle < RowTableTitle < CellTableTitle
     */
    private short width = -1;
    /**
     * 单位 磅   权重 AllTableTitle < RowTableTitle < CellTableTitle  （CellTableTitle一行中最高的表格为准）
     */
    private short height = -1;

    public MyCellStyleSize() {
    }

    public MyCellStyleSize(short width, short height) {
        this.width = width;
        this.height = height;
    }

    public int getWidth() {
        return width;
    }

    public MyCellStyleSize setWidth(short width) {
        this.width = width;
        return this;
    }

    public short getHeight() {
        return height;
    }

    public MyCellStyleSize setHeight(short height) {
        this.height = height;
        return this;
    }
}
